<include file="../header" />
<body>
<div class="wraper">
    <div class="load">
        <img class="load-bee" src="/assets/base/repair/images/load-bee.png"/>
    </div>
    <div class="top">
        <p class="clearfix">
            <a href="http://hqc.zjweu.edu.cn/microhome_f1008/classic/html/index.html" class="fl-left iconfont icon-zuo white"></a>
<!--            <a href="{BEESCRM::U('Base/center/center')}" class="iconfont icon-zuo white"></a>-->
            <span class="fl-left">{BEESCRM:$app_name}</span>
            <a href="{BEESCRM::U('repairnew/repairnewUserOrder/userOrderList',array('repairId'=>$repairId))}" class="iconfont icon-shouye text-right fl-right"></a>
        </p>
    </div>

    <div class="contain actived">
        <!--0关闭，1已下单，2已派工，3已接单，4.已到达，5已维修，6.已支付（预留状态），7已评价，10待转派，11已转派，12已返修-->
    	<if condition="$list neq null">
            <volist name="list" id="vo">
                <a href="/repairnew/repairnewUserOrder/userOrderDetail/repairId/{BEESCRM:$repairId}/order_id/{BEESCRM:$vo.order_id}" class="list">
                    <p>{BEESCRM:$vo['content']|mb_substr=0,25,'utf8'}</p>
                    <p class="sub">{BEESCRM:$vo['create_time']|date="Y-m-d",###}&nbsp;&nbsp;报修人：{BEESCRM:$vo['real_name']|mb_substr=0,1,'utf8'}某某
                        <span class="send fl-right">
                            <if condition="$vo['status'] egt 1 and $vo['status'] elt 2">
                                <font color="green">已下单</font>
                            <elseif condition="$vo['status'] eq 3" />
                                <font color="green">已接单</font>
                            <elseif condition="$vo['status'] eq 4" />
                                <font color="green">已到达</font>
                            <elseif condition="$vo['status'] eq 5" />
                                <font color="green">已维修</font>
                            <elseif condition="$vo['status'] eq 6" />
                                <font color="green">已支付</font>
                            <elseif condition="$vo['status'] eq 7" />
                                <font color="green">已评价</font>
                            <elseif condition="$vo['status'] eq 10" />
                                <font color="green">待转派</font>
                            <elseif condition="$vo['status'] eq 11" />
                                <font color="green">已转派</font>
                            <elseif condition="$vo['status'] eq 12" />
                                <font color="green">已返修</font>
                            <elseif condition="$vo['status'] eq 0"/>
                                <font color="green">已取消</font>
                            <else/>
                                <font color="green">未知状态</font>
                            </if>
                        </span>
                    </p>
                </a>
            </volist>
        <else/>
            <div style="width: 40%;margin: 20% auto 0;">
                <img src="/assets/base/repair/images/nonelist.png"/>
            </div>
        </if>
    </div>
    <!-- <a href="#" class="more">加载更多</a> -->
    <div class="marginb-50"></div>
    <include file="../nav" />
</div>

<include file="../commonJS" />
</body>
<script type="text/javascript">
	/*$(function(){
		var timeOut="{BEESCRM:$timeOut}";
		if(timeOut==1){
			$.confirm('亲爱的同学，您好！我们的维修师傅已经下班，您所提交的维修订单我们将在第二天为您受理及维修。如果遇到紧急情况，影响到同学们生活的，请拔打晚间报修电话：15168489428，我们将在第一时间为您服务，谢谢配合！');
		}
	})*/
</script>
</html>
